/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.jfonia.view.main.header;

import org.jfonia.view.labels.LabelPanel;
import java.awt.BorderLayout;
import javax.swing.BoxLayout;
import javax.swing.JPanel;

/**
 *
 * @author Rik Bauwens
 */
public class HeaderPanel extends JPanel
{
        public HeaderPanel()
        {
                super();
                setLayout(new BoxLayout(this, BoxLayout.PAGE_AXIS));

                JPanel toolBarPanel = new JPanel();
                toolBarPanel.setLayout(new BorderLayout());
                toolBarPanel.add(new ToolBar(), BorderLayout.NORTH);
                toolBarPanel.add(new NotationBar(), BorderLayout.SOUTH);
                add(toolBarPanel);

                JPanel navigationPanel = new JPanel();
                navigationPanel.setLayout(new BorderLayout());
                navigationPanel.add(new NavigationBar(), BorderLayout.NORTH);
                navigationPanel.add(LabelPanel.getInstance(), BorderLayout.SOUTH);
                add(navigationPanel);
        }

}
